home *** CD-ROM | disk | FTP | other *** search
/ Champak 132 (Alt) / Vol 132.iso / games / hewitt.swf / scripts / DefineButton2_255 / BUTTONCONDACTION on(press).as
Encoding:
Text File  |  2011-06-09  |  471 b   |  21 lines

  1. on(press){
  2.    if(_root.micon._currentframe == 62)
  3.    {
  4.       _root.even39 = 1;
  5.       _root.indicount = 100;
  6.       _root.indialogue = "And now we have a corsage";
  7.       _root.micon.gotoAndStop(1);
  8.       _root.sfx.gotoAndStop(3);
  9.       i = 1;
  10.       while(i < 40)
  11.       {
  12.          if(_root.inven["box" + i]._currentframe == 31)
  13.          {
  14.             _root.inven["box" + i].gotoAndStop(34);
  15.          }
  16.          i++;
  17.       }
  18.       gotoAndStop(34);
  19.    }
  20. }
  21.